package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户消息记录对象 admin_user_msg_record
 * 
 * @author ruoyi
 * @date 2020-11-06
 */
public class AdminUserMsgRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 房间号 */
    @Excel(name = "房间号")
    private String roomId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 微信名称 */
    @Excel(name = "微信名称")
    private String wexinName;

    /** 微信号码 */
    @Excel(name = "微信号码")
    private String wexinId;

    /** 消息类型 */
    @Excel(name = "消息类型")
    private Integer type;

    /** 信息内容 */
    @Excel(name = "信息内容")
    private String msg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoomId(String roomId) 
    {
        this.roomId = roomId;
    }

    public String getRoomId() 
    {
        return roomId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setWexinName(String wexinName) 
    {
        this.wexinName = wexinName;
    }

    public String getWexinName() 
    {
        return wexinName;
    }
    public void setWexinId(String wexinId) 
    {
        this.wexinId = wexinId;
    }

    public String getWexinId() 
    {
        return wexinId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setMsg(String msg) 
    {
        this.msg = msg;
    }

    public String getMsg() 
    {
        return msg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomId", getRoomId())
            .append("userId", getUserId())
            .append("wexinName", getWexinName())
            .append("wexinId", getWexinId())
            .append("type", getType())
            .append("msg", getMsg())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
